
package com.be.beadmin.service.repository;

import com.be.beadmin.service.entity.DictType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zjm
* @date 2023-02-02
**/
public interface DictTypeRepository extends JpaRepository<DictType, String>, JpaSpecificationExecutor<DictType> {

    DictType findDictTypeByIdAndDelete(String id, Integer delete);

    DictType findDictTypeById(String id);


    DictType findDictTypeByDictName(String name);

    DictType findDictTypeByDictNameAndDelete(String name, Integer delete);
}